<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org"
      xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity3"
      xmlns:shiro="http://www.w3.org/1999/xhtml">
<head>
</head>
<body>

<aside th:fragment="left">


    <nav class="navbar-default navbar-static-side" role="navigation">

        <div class="sidebar-collapse">
            <ul class="nav metismenu" id="side-menu">
                <li class="nav-header">
                    <div class="dropdown profile-element"> <span >
                            <img alt="image" class="img-circle" th:src="@{/bootstrap/img/profile_small.jpg}"/>
                             </span>
                        <!--<a data-toggle="dropdown" class="dropdown-toggle" href="#">-->
                            <!--<span class="clear"> <span class="block m-t-xs"> <strong-->
                                    <!--class="font-bold">David Williams</strong>-->
                             <!--</span> <span class="text-muted text-xs block">Art Director <b-->
                                    <!--class="caret"></b></span> </span> </a>-->

                        <a data-toggle="dropdown" id="setting" class="dropdown-toggle">
                            <span class="clear"> <span class="block m-t-xs"  th:text="${user.userName}" > <strong
                                    class="font-bold"></strong>
                             </span> <span class="text-muted text-xs block">个人设置<b
                                    class="caret"></b></span> </span> </a>

                        <ul class="dropdown-menu animated fadeInRight m-t-xs">
                            <li><a href="/user/updateUser">个人信息</a></li>
                            <!--<li><a href="#" onclick="changePassword(id)" th:id="${user.uid}">修改密码</a></li>-->
                            <li><a href="/user/changePassword">修改密码</a></li>
                            <li><a href="/user/desktop">桌面设置</a></li>
                            <li><a href="/user/forecast">天气预报设置</a></li>
                            <li><a href="/user/findCollections">个人网址收藏</a></li>
                            <li><a href="/user/opinion">快速意见设置</a></li>


                            <!--<li><a href="mailbox.html">Mailbox</a></li>-->
                            <!--<li class="divider"></li>-->
                            <!--<li><a href="login.html">Logout</a></li>-->
                        </ul>
                    </div>
                    <div class="logo-element">
                        IN+
                    </div>
                </li>
                <li    th:each="ment:${mentlist}" th:if="${ment.parentid}==0" shiro:hasPermission="${ment.percode}" id="approvalProcess">
                    <a href="#" ><i th:class="${ment.icon}"></i>
                        <span class="nav-label"   th:text="${ment.pname}" ></span>
                        <span class="fa arrow"></span></a>
                    <ul  class="nav nav-second-level collapse" id="approvalProce ss_ul">
                        <li   id="process" th:each="childrenMent:${mentlist}" shiro:hasPermission="${childrenMent.percode}" th:if="${childrenMent.parentid}==${ment.pid} and ${childrenMent.type}=='menu'">
                            <a th:href="${childrenMent.url}" ><i th:class="${childrenMent.icon}"></i><span class="nav-label" th:text="${childrenMent.pname}"></span></a></li>
                    </ul>
                </li>
            </ul>
        </div>

    </nav>

    <script type="text/javascript">
        var layer;
        function updataPsd(id){}
        // updatePsd(id){
        //     alert(id);
        // }
        // var changePassword = function(){
        //     alert("123");
        // // changePassword=function (obj) {
        //     debugger
        // idx = layer.open({
        //     type: 1,
        //     title: '选择需要导入的流程模型JSON',
        //     resize: true,
        //     fixed: true,
        //     shadeClose: true,
        //     shade: 0.1,
        //     scrollbar: false,
        //     area: ['400px', '250px'],
        //     content: $('#uploadLayout'),
        //     /*btn: ['上传并导入'],
        //     end: function (index) {
        //         console.log('index', index);
        //     }*/
        // });
        // }

    </script>
</aside>
<div th:include="common/Head :: js"></div>

<script src="../bootstrap/js/dept/js/vue.min.js"></script>


<script src="../bootstrap/js/dept/js/bootstrapValidator.js"></script>

<script src="../js/manage/js/fileinput.min.js"></script>
<script src="../js/manage/js/zh.js"></script>
<script src="../js/manage/js/processData.js"></script>


<script type="text/javascript" src="../bootstrap/dataTable/datatables.min.js"></script>



</body>
</html>

<!-- <li shiro:hasPermission="user:backlog" id="backlog" ><a href="/activiti/dealwith"></a></li>

                      <li shiro:hasPermission="shop:commodityManage" id="backlogdo"><a href="/activiti/dealwithdo" ></a></li>
-->
               <!-- <li shiro:hasPermission="sys:systemManage" id="systemManage">
                    <a href=""><i class="fa fa-cog"></i> <span class="nav-label">系统管理</span> <span
                            class="fa arrow"></span></a>
                    <ul class="nav nav-second-level collapse" id="systemManage_ul">
                        <li shiro:hasPermission="sys:deptManage" id="deptManage"><a href="/permission/index">菜单管理</a>
                        <li shiro:hasPermission="sys:deptManage" id="deptManage"><a href="/department/index">部门管理</a>
                        </li>
                        <li shiro:hasPermission="sys:roleManage" id="roleManage"><a href="/role/index">角色管理</a></li>
                        <li shiro:hasPermission="sys:userManage" id="userManage"><a href="/user/index">人员管理</a></li>
                    </ul>
                </li>-->
                <!--<li id="shopMange" shiro:hasPermission="shop:page">
                    <a href="index.html"><i class="fa fa-shopping-cart"></i> <span class="nav-label">商品主页</span> <span
                            class="fa arrow"></span></a>
                    <ul class="nav nav-second-level collapse" id="shopMange_ul">
                        <li shiro:hasPermission="shop:commodityManage" id="commodityManage"><a
                                href="/shop/index">商品管理</a></li>
                        <li shiro:hasPermission="sys:shopPageMange" id="shopPageMange"><a href="/shop/shopPageMange"
                                                                                          id="shopPageManage">商城首页</a>
                        </li>
                        <li shiro:hasPermission="sys:commodity" id="commodity"><a href="/commodity/index">商品分类</a></li>
                    </ul>
                </li>-->

                <!-- todo permission配置 -->
               <!-- <li id="orderMange"  shiro:hasPermission="shop:page">
                    <a href="index.html"><i class="fa fa-shopping-cart"></i> <span class="nav-label">订单管理</span> <span
                            class="fa arrow"></span></a>
                    <ul class="nav nav-second-level collapse" id="orderMange_ul">
                        <li shiro:hasPermission="shop:orderManage" id="orderManage"><a href="/order/manage/list">订单列表</a></li>
                    </ul>
                </li>-->


            <!-- <li id="homePage">
                    <a href="index.html"><i class="fa fa-th-large"></i> <span class="nav-label">主页</span> <span
                            class="fa arrow"></span></a>
                    <ul class="nav nav-second-level collapse" id="homePage_ul">
                        <li id="homePage_1"><a href="../index">主页示例v.1</a></li>
                        &lt;!&ndash;  </shiro:hasPermission> &ndash;&gt;
                        <li><a href="dashboard_2.html">主页示例 v.2</a></li>
                        <li><a href="dashboard_3.html">主页示例 v.3</a></li>
                        <li><a href="dashboard_4_1.html">主页示例 v.4</a></li>
                        <li><a href="dashboard_5.html">主页示例 v.5 </a></li>
                    </ul>
                </li>-->
                <!--<li>
                    <a href="layouts.html"><i class="fa fa-diamond"></i> <span class="nav-label">Layouts</span></a>
                </li>
                <li>
                    <a href="#"><i class="fa fa-bar-chart-o"></i> <span class="nav-label">Graphs</span><span
                            class="fa arrow"></span></a>
                    <ul class="nav nav-second-level collapse">
                        <li><a href="graph_flot.html">Flot Charts</a></li>
                        <li><a href="graph_morris.html">Morris.js Charts</a></li>
                        <li><a href="graph_rickshaw.html">Rickshaw Charts</a></li>
                        <li><a href="graph_chartjs.html">Chart.js</a></li>
                        <li><a href="graph_chartist.html">Chartist</a></li>
                        <li><a href="c3.html">c3 charts</a></li>
                        <li><a href="graph_peity.html">Peity Charts</a></li>
                        <li><a href="graph_sparkline.html">Sparkline Charts</a></li>
                    </ul>
                </li>
                <li>-->
                  <!--  <a href="mailbox.html"><i class="fa fa-envelope"></i> <span class="nav-label">Mailbox </span><span
                            class="label label-warning pull-right">16/24</span></a>
                    <ul class="nav nav-second-level collapse">
                        <li><a href="mailbox.html">Inbox</a></li>
                        <li><a href="mail_detail.html">Email view</a></li>
                        <li><a href="mail_compose.html">Compose email</a></li>
                        <li><a href="email_template.html">Email templates</a></li>
                    </ul>
                </li>
                <li>
                    <a href="metrics.html"><i class="fa fa-pie-chart"></i> <span class="nav-label">Metrics</span> </a>
                </li>
                <li>
                    <a href="widgets.html"><i class="fa fa-flask"></i> <span class="nav-label">Widgets</span></a>
                </li>
                <li>
                    <a href="#"><i class="fa fa-edit"></i> <span class="nav-label">Forms</span><span
                            class="fa arrow"></span></a>
                    <ul class="nav nav-second-level collapse">
                        <li><a href="form_basic.html">Basic form</a></li>
                        <li><a href="form_advanced.html">Advanced Plugins</a></li>
                        <li><a href="form_wizard.html">Wizard</a></li>
                        <li><a href="form_file_upload.html">File Upload</a></li>
                        <li><a href="form_editors.html">Text Editor</a></li>
                        <li><a href="form_autocomplete.html">Autocomplete</a></li>
                        <li><a href="form_markdown.html">Markdown</a></li>
                    </ul>
                </li>-->
                <!--<li>
                    <a href="#"><i class="fa fa-desktop"></i> <span class="nav-label">App Views</span> <span
                            class="pull-right label label-primary">SPECIAL</span></a>
                    <ul class="nav nav-second-level collapse">
                        <li><a href="contacts.html">Contacts</a></li>
                        <li><a href="profile.html">Profile</a></li>
                        <li><a href="profile_2.html">Profile v.2</a></li>
                        <li><a href="contacts_2.html">Contacts v.2</a></li>
                        <li><a href="projects.html">Projects</a></li>
                        <li><a href="project_detail.html">Project detail</a></li>
                        <li><a href="activity_stream.html">Activity stream</a></li>
                        <li><a href="teams_board.html">Teams board</a></li>
                        <li><a href="social_feed.html">Social feed</a></li>
                        <li><a href="clients.html">Clients</a></li>
                        <li><a href="full_height.html">Outlook view</a></li>
                        <li><a href="vote_list.html">Vote list</a></li>
                        <li><a href="file_manager.html">File manager</a></li>
                        <li><a href="calendar.html">Calendar</a></li>
                        <li><a href="issue_tracker.html">Issue tracker</a></li>
                        <li><a href="blog.html">Blog</a></li>
                        <li><a href="article.html">Article</a></li>
                        <li><a href="faq.html">FAQ</a></li>
                        <li><a href="timeline.html">Timeline</a></li>
                        <li><a href="pin_board.html">Pin board</a></li>
                    </ul>
                </li>-->
              <!--  <li>
                    <a href="#"><i class="fa fa-files-o"></i> <span class="nav-label">Other Pages</span><span
                            class="fa arrow"></span></a>
                    <ul class="nav nav-second-level collapse">
                        <li><a href="search_results.html">Search results</a></li>
                        <li><a href="lockscreen.html">Lockscreen</a></li>
                        <li><a href="invoice.html">Invoice</a></li>
                        <li><a href="login.html">Login</a></li>
                        <li><a href="login_two_columns.html">Login v.2</a></li>
                        <li><a href="forgot_password.html">Forget password</a></li>
                        <li><a href="register.html">Register</a></li>
                        <li><a href="404.html">404 Page</a></li>
                        <li><a href="500.html">500 Page</a></li>
                        <li><a href="empty_page.html">Empty page</a></li>
                    </ul>
                </li>-->
               <!-- <li>
                    <a href="#"><i class="fa fa-globe"></i> <span class="nav-label">Miscellaneous</span><span
                            class="label label-info pull-right">NEW</span></a>
                    <ul class="nav nav-second-level collapse">
                        <li><a href="toastr_notifications.html">Notification</a></li>
                        <li><a href="nestable_list.html">Nestable list</a></li>
                        <li><a href="agile_board.html">Agile board</a></li>
                        <li><a href="timeline_2.html">Timeline v.2</a></li>
                        <li><a href="diff.html">Diff</a></li>
                        <li><a href="pdf_viewer.html">PDF viewer</a></li>
                        <li><a href="i18support.html">i18 support</a></li>
                        <li><a href="sweetalert.html">Sweet alert</a></li>
                        <li><a href="idle_timer.html">Idle timer</a></li>
                        <li><a href="truncate.html">Truncate</a></li>
                        <li><a href="password_meter.html">Password meter</a></li>
                        <li><a href="spinners.html">Spinners</a></li>
                        <li><a href="spinners_usage.html">Spinners usage</a></li>
                        <li><a href="tinycon.html">Live favicon</a></li>
                        <li><a href="google_maps.html">Google maps</a></li>
                        <li><a href="datamaps.html">Datamaps</a></li>
                        <li><a href="social_buttons.html">Social buttons</a></li>
                        <li><a href="code_editor.html">Code editor</a></li>
                        <li><a href="modal_window.html">Modal window</a></li>
                        <li><a href="clipboard.html">Clipboard</a></li>
                        <li><a href="text_spinners.html">Text spinners</a></li>
                        <li><a href="forum_main.html">Forum view</a></li>
                        <li><a href="validation.html">Validation</a></li>
                        <li><a href="tree_view.html">Tree view</a></li>
                        <li><a href="loading_buttons.html">Loading buttons</a></li>
                        <li><a href="chat_view.html">Chat view</a></li>
                        <li><a href="masonry.html">Masonry</a></li>
                        <li><a href="tour.html">Tour</a></li>
                    </ul>
                </li>-->
             <!--   <li>
                    <a href="#"><i class="fa fa-flask"></i> <span class="nav-label">UI Elements</span><span
                            class="fa arrow"></span></a>
                    <ul class="nav nav-second-level collapse">
                        <li><a href="typography.html">Typography</a></li>
                        <li><a href="icons.html">Icons</a></li>
                        <li><a href="draggable_panels.html">Draggable Panels</a></li>
                        <li><a href="resizeable_panels.html">Resizeable Panels</a></li>
                        <li><a href="buttons.html">Buttons</a></li>
                        <li><a href="video.html">Video</a></li>
                        <li><a href="tabs_panels.html">Panels</a></li>
                        <li><a href="tabs.html">Tabs</a></li>
                        <li><a href="notifications.html">Notifications & Tooltips</a></li>
                        <li><a href="helper_classes.html">Helper css classes</a></li>
                        <li><a href="badges_labels.html">Badges, Labels, Progress</a></li>
                    </ul>
                </li>-->

               <!-- <li>
                    <a href="grid_options.html"><i class="fa fa-laptop"></i> <span class="nav-label">Grid options</span></a>
                </li>
                <li>
                    <a href="#"><i class="fa fa-table"></i> <span class="nav-label">Tables</span><span
                            class="fa arrow"></span></a>
                    <ul class="nav nav-second-level collapse">
                        <li><a href="table_basic.html">Static Tables</a></li>
                        <li><a href="table_data_tables.html">Data Tables</a></li>
                        <li><a href="table_foo_table.html">Foo Tables</a></li>
                        <li><a href="jq_grid.html">jqGrid</a></li>
                    </ul>
                </li>-->
                <!--<li>
                    <a href="#"><i class="fa fa-shopping-cart"></i> <span class="nav-label">E-commerce</span><span
                            class="fa arrow"></span></a>
                    <ul class="nav nav-second-level collapse">
                        <li><a href="ecommerce_products_grid.html">Products grid</a></li>
                        <li><a href="ecommerce_product_list.html">Products list</a></li>
                        <li><a href="ecommerce_product.html">Product edit</a></li>
                        <li><a href="ecommerce_product_detail.html">Product detail</a></li>
                        <li><a href="ecommerce-cart.html">Cart</a></li>
                        <li><a href="ecommerce-orders.html">Orders</a></li>
                        <li><a href="ecommerce_payments.html">Credit Card form</a></li>
                    </ul>
                </li>-->
               <!-- <li>
                    <a href="#"><i class="fa fa-picture-o"></i> <span class="nav-label">Gallery</span><span
                            class="fa arrow"></span></a>
                    <ul class="nav nav-second-level collapse">
                        <li><a href="basic_gallery.html">Lightbox Gallery</a></li>
                        <li><a href="slick_carousel.html">Slick Carousel</a></li>
                        <li><a href="carousel.html">Bootstrap Carousel</a></li>

                    </ul>
                </li>-->
                <!--<li>
                    <a href="#"><i class="fa fa-sitemap"></i> <span class="nav-label">Menu Levels </span><span
                            class="fa arrow"></span></a>
                    <ul class="nav nav-second-level collapse">
                        <li>
                            <a href="#" id="damian">Third Level <span class="fa arrow"></span></a>
                            <ul class="nav nav-third-level">
                                <li>
                                    <a href="#">Third Level Item</a>
                                </li>
                                <li>
                                    <a href="#">Third Level Item</a>
                                </li>
                                <li>
                                    <a href="#">Third Level Item</a>
                                </li>

                            </ul>
                        </li>
                        <li><a href="#">Second Level Item</a></li>
                        <li>
                            <a href="#">Second Level Item</a></li>
                        <li>
                            <a href="#">Second Level Item</a></li>
                    </ul>
                </li>-->
               <!-- <li>
                    <a href="css_animation.html"><i class="fa fa-magic"></i> <span
                            class="nav-label">CSS Animations </span><span class="label label-info pull-right">62</span></a>
                </li>
                <li class="landing_link">
                    <a target="_blank" href="landing.html"><i class="fa fa-star"></i> <span class="nav-label">Landing Page</span>
                        <span class="label label-warning pull-right">NEW</span></a>
                </li>
                <li class="special_link">
                    <a href="package.html"><i class="fa fa-database"></i> <span class="nav-label">Package</span></a>
                </li>-->


